package com.ruoyi.financial.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.TreeEntity;

/**
 * 收支项目对象 f_thing_type
 * 
 * @author xunzhe
 * @date 2024-08-07
 */
public class FThingType extends TreeEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long typeId;

    /** 用途名称 */
    @Excel(name = "用途名称")
    private String typeName;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    public void setTypeId(Long typeId) 
    {
        this.typeId = typeId;
    }

    public Long getTypeId() 
    {
        return typeId;
    }
    public void setTypeName(String typeName) 
    {
        this.typeName = typeName;
    }

    public String getTypeName() 
    {
        return typeName;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("typeId", getTypeId())
            .append("parentId", getParentId())
            .append("ancestors", getAncestors())
            .append("typeName", getTypeName())
            .append("status", getStatus())
            .toString();
    }
}
